package com.yikaiye.android.yikaiye.di;

import android.app.Activity;

import com.yikaiye.android.yikaiye.di.scope.FragmentScope;
import com.yikaiye.android.yikaiye.ui.fragment.CompanyGsInfoFragment;
import com.yikaiye.android.yikaiye.ui.fragment.CompanyInvoiceInfoFragment;
import com.yikaiye.android.yikaiye.ui.fragment.CompanyServiceProgressFragment;
import com.yikaiye.android.yikaiye.ui.fragment.CorrelationServiceFragment;
import com.yikaiye.android.yikaiye.ui.fragment.DetailsFragment;
import com.yikaiye.android.yikaiye.ui.fragment.IndexFragment;
import com.yikaiye.android.yikaiye.ui.fragment.MineFragment;
import com.yikaiye.android.yikaiye.ui.fragment.OrderFragment;
import com.yikaiye.android.yikaiye.ui.fragment.OrderStatusFragment;
import com.yikaiye.android.yikaiye.ui.fragment.ProductFragment;
import com.yikaiye.android.yikaiye.ui.fragment.ProductListFragment;
import com.yikaiye.android.yikaiye.ui.fragment.ServiceDescriptionFragment;
import com.yikaiye.android.yikaiye.ui.fragment.ServiceFragment;
import com.yikaiye.android.yikaiye.ui.fragment.ServiceProgressFragment;
import com.yikaiye.android.yikaiye.ui.fragment.ServiceStatusFragment;

import dagger.Component;

@FragmentScope
@Component(modules = FragmentModule.class, dependencies = AppComponent.class)
public interface FragmentComponent {
    Activity getActivity();

    void inject(IndexFragment fragment);

    void inject(OrderFragment fragment);

    void inject(MineFragment fragment);

    void inject(DetailsFragment fragment);

    void inject(ProductFragment fragment);

    void inject(ServiceFragment fragment);

    void inject(ServiceStatusFragment fragment);

    void inject(ServiceProgressFragment fragment);

    void inject(ServiceDescriptionFragment fragment);

    void inject(CorrelationServiceFragment fragment);

    void inject(CompanyGsInfoFragment fragment);

    void inject(CompanyServiceProgressFragment fragment);

    void inject(CompanyInvoiceInfoFragment fragment);

    void inject(OrderStatusFragment fragment);

    void inject(ProductListFragment fragment);

}
